<?xml version="1.0"?> 
<xsl:stylesheet 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="1.0"> 
  <xsl:output method="html"/> 
 
  <xsl:template match="/r"> 
	<select name="annotatedElement" id="annotatedElement">
		<xsl:for-each select="./element">
			<option value="{concat(@name, '$$$', @id)}"><xsl:value-of select="@name" /></option>
		</xsl:for-each>
	</select>	
	</xsl:template>  
</xsl:stylesheet> 
